body {
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    font: normal 14px/1.5 Tahoma, "Lucida Grande", Verdana, "Microsoft Yahei", STXihei, hei;
    color: #000;
    background: #f2f2f2;
    /* background-color: #fff; */
    /* 溢出隐藏 隐藏滚动条 */
    overflow-x: hidden;
    -webkit-tap-highlight-color: transparent;
    height: 1000px;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

a {
    /* 取消下划线 */
    text-decoration: none;
    color: #222;
}

div {
    /* 内外边距不会撑大盒子 */
    box-sizing: border-box;
}


/* 搜索模块 */

.search-index {
    z-index: 3;
    display: flex;
    /* 固定定位 跟父级没有关系 以屏幕为准 */
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    /* 固定盒子应该有宽度 */
    width: 100%;
    max-width: 540px;
    min-width: 320px;
    height: 44px;
    /* background-color: pink; */
    background-color: #f6f6f6;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
}

.search {
    position: relative;
    height: 26px;
    border: 1px solid #ccc;
    margin: 7px 10px;
    line-height: 24px;
    font-size: 12px;
    color: #666;
    padding-left: 35px;
    /* 圆角 */
    border-radius: 5px;
    /* 搜索盒子 自适应 占剩余空间 */
    flex: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
}

.search::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 10px;
    width: 20px;
    height: 20px;
    background: url(../images/jd-sprites.png) no-repeat -100px 0px;
    /* 背景尺寸 */
    background-size: 240px auto;
    /* margin: 3px 0 0 10px; */
}

.user {
    width: 44px;
    height: 44px;
    /* background-color: #ccc; */
    font-size: 12px;
    text-align: center;
    color: #2eaae0;
}

.user::before {
    content: "";
    display: block;
    width: 23px;
    height: 23px;
    background-color: #2eaae0;
    margin: 4px auto -2px;
    /* 圆角 */
    border-radius: 15px;
}


/* focus模块 */

.focus {
    padding-top: 44px;
}

.focus img {
    width: 100%;
}


/* 局部导航栏 */

.main-nav-wrap {
    margin: 6px 12px 2px;
    display: flex;
    /* background-color: #ccc; */
}

.nav-list {
    display: flex;
    /* 主轴设置为Y轴 */
    flex-direction: column;
    flex: 1;
}

.nav-list-box {
    /* flex: 1; */
    width: 100%;
    height: 58px;
    border: #fff 1px solid;
}


/* 圆角 */

.fillet-1 {
    border-radius: 10px 0 0 0;
}

.fillet-2 {
    border-radius: 0 10px 0 0;
}

.fillet-3 {
    border-radius: 0 0 0 10px;
}

.fillet-4 {
    border-radius: 0 0 10px 0;
}


/* 酒店背景 */

.nav-hotel {
    background-color: #fff5f1;
}

.nav-hotel:nth-child(1) {
    background-image: linear-gradient(180deg, #fa5956, #fb8650);
}


/* 航班背景 */

.nav-flight {
    background-color: #eff9ff;
}

.nav-flight:nth-child(1) {
    background-image: linear-gradient(180deg, #3c83fa, #50b2fa);
}


/* 火车背景 */

.nav-train {
    background-color: #f2f5ff;
}

.nav-train:nth-child(1) {
    background-image: linear-gradient(0deg, #66a4ff, #5e80ff);
}


/* 旅行背景 */

.nav-travel {
    background-color: #ecfcf8;
}

.nav-travel:nth-child(1) {
    background-image: linear-gradient(180deg, #2fc3b6, #52d9b3);
}


/* 攻略背景 */

.nav-gs {
    background-color: #fff9f2;
}

.nav-gs:nth-child(1) {
    background-image: linear-gradient(0deg, #ffa846, #ff8939 99%);
}

.nav-list .nav-list-box a {
    display: flex;
    /* 主轴设置为Y轴 */
    flex-direction: column;
    /* 侧轴设置居中对齐 */
    align-items: center;
    font-size: 12px;
    line-height: 15px;
}


/* .local-nav-icon-icon {
    width: 28px;
    height: 28px;
    margin-bottom: 4px;
    background-size: 28px auto;
    background: url(../images/nav.png) no-repeat;
} */

.nav-list-box a [class^="local-nav-icon"] {
    width: 28px;
    height: 28px;
    margin: 4px 0;
    /* 默认是房子 */
    background: url(../images/nav.png) no-repeat 0 -84px;
    background-size: 28px auto;
}

.nav-list-box a .local-nav-icon-icon2 {
    background-position: 0 -336px;
}

.nav-list-box a .local-nav-icon-icon3 {
    background-position: 0 -0px;
}


/* 航班图标 */

.nav-list-box a .local-nav-icon-icon4 {
    background-position: 0 -168px;
}

.nav-list-box a .local-nav-icon-icon5 {
    background-position: 0 -56px;
}

.nav-list-box a .local-nav-icon-icon6 {
    background-position: 0 -280px;
}


/* 火车图标 */

.nav-list-box a .local-nav-icon-icon7 {
    background-position: 0 -364px;
}

.nav-list-box a .local-nav-icon-icon8 {
    background-position: 0 -224px;
}

.nav-list-box a .local-nav-icon-icon9 {
    background-position: 0 -252px;
}


/* 旅游图标 */

.nav-list-box a .local-nav-icon-icon10 {
    background-position: 0 -140px;
}

.nav-list-box a .local-nav-icon-icon11 {
    background-position: 0 -196px;
}

.nav-list-box a .local-nav-icon-icon12 {
    background-position: 0 -392px;
}


/* 攻略图标 */

.nav-list-box a .local-nav-icon-icon13 {
    background-position: 0 -28px;
}

.nav-list-box a .local-nav-icon-icon14 {
    background-position: 0 -112px;
}

.nav-list-box a .local-nav-icon-icon15 {
    background-position: 0 -308px;
}


/* 局部导航栏结束 */


/* 导航栏按钮 */

.nav-switch {
    width: 100%;
    height: 20px;
    display: flex;
    /* 居中 */
    justify-content: center;
    padding-top: 4px;
    /* background-color: #ccc; */
}

.nav-switch-box {
    width: 14px;
    height: 4px;
    /* 圆角 */
    border-radius: 2px;
    background-color: #0086f6;
}

.nav-switch-box2 {
    width: 4px;
    height: 4px;
    /* 圆角 */
    border-radius: 2px;
    background-color: #ccc;
    margin-left: 4px;
}


/* 内容模块 */

article {
    display: flex;
    background-color: #f4f4f4;
    padding: 0 12px;
    margin-left: -8px;
    margin-bottom: 10px;
}

.article-banner {
    flex: 1;
    width: 50%;
    padding: 8px;
    margin-left: 8px;
    border-radius: 8px;
    background-color: #fff;
    /* 溢出隐藏 */
    overflow: hidden;
    /* min-width: 100px; */
}

.article-banner a {
    display: flex;
}

.article-banner a span {
    width: 50%;
}

.article-banner a span img {
    width: 100%;
}

.article-banner .banner-txet {
    height: 16px;
    line-height: 16px;
    border-radius: 2px;
    font-size: 10px;
    background-color: #ffebe3;
    color: #ff4607;
    padding: 1px 4px;
    /* 强制文本不换行 */
    white-space: nowrap;
    text-align: center;
}

.banner-bottom-box {
    position: relative;
    height: 84px;
    margin-bottom: 4px;
    border-radius: 6px;
    overflow: hidden;
}

.banner-bottom-box .tag {
    position: absolute;
    top: 0;
    z-index: 1;
    height: 14px;
    line-height: 14px;
    padding: 0 3px;
    background-color: rgba(51, 51, 51, .8);
    border-radius: 6px 0 6px 0;
    color: #fff;
    font-size: 12px;
}

.banner-bottom-box .mask {
    position: absolute;
    z-index: 2;
    bottom: 6px;
    left: 6px;
    line-height: 12px;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    /* 强制文本不换行 */
    white-space: nowrap;
}

.banner-bottom-box img {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    height: auto;
}

.banner-txet-bottom .price-1 {
    float: left;
    font: 18px;
    line-height: 18px;
    font-size: 16px;
    font-weight: 700;
    color: #f60;
    padding-right: 2px;
}

.banner-txet-bottom .price-2 {
    float: left;
    font-size: 10px;
    height: 18px;
    line-height: 18px;
    color: #666;
    vertical-align: middle;
}

.banner-txet-bottom .price-3 {
    float: left;
    padding: 3px;
    /* margin-left: 4px; */
    background-image: linear-gradient(90deg, #fa5956, #fb8650);
    border-radius: 2px;
    font-size: 10px;
    white-space: nowrap;
    color: #fff;
    text-align: center;
    line-height: 1.1;
}


/* banner图模块 */

section {
    margin-top: 10px;
    padding: 0 12px 12px;
    overflow: hidden;
}

.banner-3,
.banner-3 img {
    width: 100%;
    height: 88px;
    display: block;
    border-radius: 8px;
}


/* 标签栏模块 */

.label-box {
    box-shadow: 0 -5px 15px 0 rgb(0 0 0 / 5%);
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 49px;
    background-color: #fff;
    max-width: 540px;
    min-width: 320px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}


/* 首页 */

.label-sz {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding-bottom: 5px;
    color: #666;
    font-size: 11px;
    line-height: 12px;
}

.label-sz [class^=icon-] {
    width: 32px;
    height: 32px;
    background: url(../images/tabbar.png);
    background-size: 32px auto;
}

.label-sz .icon-page {
    background-position: 0 -64px;
}

.label-sz .icon-area {
    background-position: 0 -32px;
}

.label-sz .icon-news {
    background-position: 0 -160px;
}

.label-sz .icon-my {
    background-position: 0 -224px;
}